<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <title>
            agoda 
        </title>
        <link rel="Shortcut Icon" type="image/x-icon" href="/homeassets/index/images/favicon.ico" />
        <link type="text/css" rel="stylesheet"  href="/homeassets/detail/css/basePatch.css"/>
        <link type="text/css" rel="stylesheet"  href="/homeassets/detail/css/common.css" source="widget"/>
        <link rel="stylesheet" href="/homeassets/index/css/base.min.css" />
        <link rel="stylesheet" href="/homeassets/index/css/index.min.css" />
        <link type="text/css" rel="stylesheet"  href="/homeassets/evaluate/css/global.css"/>
        <link type="text/css" rel="stylesheet"  href="/homeassets/evaluate/css/comment-form.css" source="widget"/>
        <script type="text/javascript" src="/homeassets/evaluate/js/jquery-1.8.0.min.js"></script>
        <style>
            p{ 
                margin: 0;
                padding: 0;
                font: 12px/1 Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
            }
            /* 重置文本格式元素 */

            /*星星样式*/
            .block{ width:100%; margin:0 0 20px 0; padding-top:10px; padding-left:50px; line-height:21px;}
            .block .star_score{ float:left;}
            .star_list{height:21px;margin:50px; line-height:21px;}
            .block p,.block .attitude{ padding-left:20px; line-height:21px; display:inline-block;}
            .block p span{ color:#C00; font-size:16px; font-family:Georgia, "Times New Roman", Times, serif;}
            .star_score { background:url(/homeassets/evaluate/images/stark2.png); width:160px; height:21px;  position:relative; }
            .star_score a{ height:21px; display:block; text-indent:-999em; position:absolute;left:0;}
            .star_score a:hover{ background:url(/homeassets/evaluate/images/stars2.png);left:0;}
            .star_score a.clibg{ background:url(/homeassets/evaluate/images/stars2.png);left:0;}
            #starttwo .star_score { background:url(/homeassets/evaluate/images/starky.png);}
            #starttwo .star_score a:hover{ background:url(/homeassets/evaluate/images/starsy.png);left:0;}
            #starttwo .star_score a.clibg{ background:url(/homeassets/evaluate/images/starsy.png);left:0;}
            #starttwo_two .star_score { background:url(/homeassets/evaluate/images/starky.png);}
            #starttwo_two .star_score a:hover{ background:url(/homeassets/evaluate/images/starsy.png);left:0;}
            #starttwo_two .star_score a.clibg{ background:url(/homeassets/evaluate/images/starsy.png);left:0;}
        </style>
    </head>
    <body>
        @if(session('success'))
        <script>
            alert("{{ session('success') }}");
            location.href = '/home/userorder/index';
        </script>
        @endif
        <div id="nav" >
            <div class="w" >
                <div class="logo">
                    <a href="/" class="" style="float: left;margin-right: -50px;margin-top:20px;width: 158px;height: 80px;"><img src="/homeassets/index/images/logo.png" title="Agoda" alt="Agoda"></a>
                    <a href="/home/detail/index" target="_self" class="fore2" style="float: left;font-size: 20px;margin: 20px 0 0 6px;height: 22px;">天使的购哒</a>
                    <a href="/" class="fore3" >返回商城首页</a>
                </div>
                <div class="nav-r">
                    <div id="search-2014">
                        <ul id="shelper" class="hide" style="display: none;"></ul>
                        <div class="form">
                            <input type="text" onkeydown="javascript:if(event.keyCode==13) search('key');" autocomplete="off" id="key" accesskey="s" class="text">
                            <button onclick="search('key');return false;" class="button cw-icon" type="button"><i></i>搜索</button>
                        </div>
                    </div>
                    <div id="settleup-2014" class="dorpdown">
                        <div class="cw-icon">
                            <i class="ci-left"></i>
                            <i class="ci-right">&gt;</i><i class="ci-count" id="shopping-amount">14</i>
                            <a target="_blank" href="//cart.jd.com/cart.action">我的购物车</a>
                        </div>
                        <div class="dorpdown-layer"><div class="spacer"></div><div id="settleup-content"><span class="loading"></span></div></div>
                    </div>
                </div>
                <div class="clr"></div>
            </div>
        </div>
        
                  <!-- main -->

        <div id="container">
    <div class="w">
        <div class="mycomment-detail">
            <div class="detail-hd" id="o-info-orderinfo" oId="49773892308" payId="4"
            ot="22" shipmentId="70" venderId="GI0Vg81kxtE=">
                <div class="orderinfo">
                    <h3 class="o-title">
                        评价订单
                    </h3>
                    <div class="o-info">
                        <span class="mr20">
                            订单号：
                            <a href=""
                            target="_blank" class="gray1">
                                {{ $data[0]['id'] }}
                            </a>
                        </span>
                        <span>
                            {{ date('Y-m-d H:i:s',$data[0]['ctime']) }}
                        </span>
                    </div>
                </div>
            </div>
            <div class="col-md-12" id="successs" title="点击隐藏">
                <div class="card">
                    @if(session('success'))
                        <div class="alert alert-success">
                            <strong>
                                {{ session('success') }}
                            </strong>
                        </div>
                    @endif
                    @if(session('error'))
                        <div class="alert alert-danger" style="color: #a94442;padding: 15px;margin-bottom: 20px;border: 1px solid transparent;border-radius: 4px;margin: 0 auto;background-color: #f2dede;border-color: #ebccd1;">
                            <strong>
                                {{ session('error') }}
                            </strong>
                        </div>
                    @endif
                    @if(count($errors) > 0)
                        <div class="alert alert-danger">
                            <ul style="list-style:none">
                                @foreach ($errors->all() as $error)
                                    <li>{{ $error }}</li>
                                @endforeach
                            </ul>
                        </div>
                    @endif
                </div>
            </div>
            <div class="mycomment-form">
                <!-- page -->
                <form method="post" action="/home/evaluate/insert">
                {{ csrf_field() }}
                <div class="form-part1">
                    <div id="activityVoucher" style="" class="f-item f-service">
                        <div class="fi-info">
                            <div class="comment-service">
                                <div class="s-img shop-logo">
                                    <a href="//hanshu.jd.com" target="_blank">
                                        <!-- <img src="//img14.360buyimg.com/popshop/jfs/t3622/113/299029962/9282/9c156e97/5809845aNf828d176.jpg"
                                        alt=""> -->
                                    </a>
                                </div>
                                <div class="s-main">
                                    <div class="s-name">
                                        {{ $data1[0]['name'] }}
                                    </div>
                                    <dl class="shop-score-01">
                                        <div class="sum">
                                            <span class="tit">
                                                店铺
                                            </span>
                                            <em class="num">
                                                {{ $da }}
                                            </em>
                                        </div>
                                        <div class="part">
                                            <span class="tit">
                                                商品
                                            </span>
                                            <em class="num">
                                                {{ $data2[0]['evaulate'] }}
                                            </em>
                                        </div>
                                    </dl>
                                </div>
                            </div>
                        </div>
                        <div class="fi-operate   z-tip-warn">
                            <div class="commstar-wrap">
                                <div class="commstar-group ">
                                    <div class="item" data-key="ro592">
                                        <span class="label" style="margin-top:5px">
                                            店家服务态度
                                        </span>
                                        <div id="starttwo" class="block clearfix" style="margin-top:-20px">
                                            <div  class="star_score"></div>
                                            <p style="float:left;">您的评分：<span class="fenshu"></span> 分</p>
                                            <input type="hidden" value="" name="num" id="num">
                                        </div>
                                    </div>
                                </div>
                                <div class="fi-tip">
                                    <i class="tip-icon">
                                    </i>
                                    <em class="tip-text">
                                        请填写店铺服务评价
                                    </em>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="f-cutline">
                    </div>
                    <div class="f-item f-goods product-11260444047" voucherStatus="0" cateFi="1316"
                    cateSe="1381" cateTh="1392">
                        <div class="fi-info">
                            <div class="comment-goods">
                                <div class="p-img">
                                    <a clstag="pageclick|keycount|fabupingjia_201608055|2" href="">
                                        <img src="{{ $data2[0]['picture'] }}" alt="">
                                    </a>
                                </div>
                                <div class="p-name">
                                    <a clstag="pageclick|keycount|fabupingjia_201608055|3" href="//item.jd.com/11260444047.html"
                                    target="_blank">
                                        {{ $data[0]['goodsname'] }} 
                                    </a>
                                </div>
                                <div class="p-price">
                                    <strong>
                                    </strong>
                                </div>
                                <div class="p-attr">
                                    规格
                                </div>
                            </div>
                        </div>
                        <div class="fi-operate">
                            <div class="fop-item fop-star  ">
                                <div class="fop-label">
                                    商品满意度
                                </div>
                                <div class="fop-main">
                                    <div id="starttwo_two" class="block clearfix" style="margin-left:-80px;margin-top:-15px">
                                        <div  class="star_score"></div>
                                        <p style="float:left;">您的评分：<span class="fenshu"></span> 分</p>
                                    </div>
                                </div>
                                <div class="fop-tip">
                                    <i class="tip-icon">
                                    </i>
                                    <em class="tip-text">
                                    </em>
                                </div>
                            </div>
                            <div class="fop-item ">
                                <div class="fop-label">
                                    评价晒单
                                </div>
                                <div class="fop-main">
                                    <div class="f-textarea">
                                        <textarea name="content" id="" placeholder="商品是否给力？快分享你的购买心得吧~"></textarea>
                                        <div class="textarea-ext">
                                            <!-- <em class="textarea-num">
                                                <b>
                                                    0
                                                </b>
                                                / 500
                                            </em> -->
                                            
                                        </div>
                                    </div>
                                </div>
                                <div class="fop-tip">
                                    <i class="tip-icon">
                                    </i>
                                    <em class="tip-text">
                                    </em>
                                </div>
                            </div>

                        </div>

                    </div>
                  



                </div>
                <!-- page -->
                <div class="f-btnbox">
                    <input type="hidden" value="{{ $data[0]['gid'] }}" name="gid">
                    <input type="hidden" value="{{ $data1[0]['id'] }}" name="sid">
                    <input type="hidden" value="{{ $data[0]['id'] }}" name="oid">
                    <input type="submit" value="提交" style="width:220px;height:48px;font-size:20px;background-color:#e74649;border:1px solid #e74649;color:#fff;font-weight:bold;margin-left:70px">
                    <span class="f-checkbox">
                        
                        <input id="check1" class="i-check" value="0" name="xhibition" type="checkbox" checked="checked">
                        <label for="check1">
                            匿名评价
                        </label>
                    </span>
                </div>
                </form>
            </div>
        </div>
    </div>
</div>


        <div class="site-footer" >
            <div class="container">
                <div class="footer-links clearfix">
                    <dl class="col-links col-links-first">
                        <dt>
                            帮助中心
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            服务支持
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            线下门店
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            关于agoda
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            <a href="/home/link/index">有情连接</a>
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            关注我们
                        </dt>
                    </dl>
                    <dl class="col-links ">
                        <dt>
                            特色服务
                        </dt>
                    </dl>
                    <div class="col-contact">
                        <p class="phone" style="color:#0283DF">
                            188-4611-9379
                        </p>
                        <p>
                            <span class="J_serviceTime-normal" style="
                            ">
                            
                            </span>
                            
                            <br>
                           
                        </p>
                        <a rel="nofollow" class="btn btn-line-primary btn-small" href=""
                        target="_blank">
                            <i class="iconfont">
                                &#xe600;
                            </i>
                            
                        </a>
                    </div>
                </div>
            </div>
        </div>
        <div class="site-info">

            <div class="container">
                <div class="logo ir">
                    agoda官网
                </div>
                <div class="info-text">
                    <p>
                        &copy;
                        <a href="" target="_blank" title="agoda.com">
                            agoda.com
                        </a>
                        鲁ICP证110507号
                        <a href="/" target="_blank" rel="nofollow">
                            鲁ICP备10046444号
                        </a>
                        <a rel="nofollow" href=""
                        target="_blank">
                            鲁公网安备11010802020134号
                        </a>
                        <a rel="nofollow" href="//c1.mifile.cn/f/i/2013/cn/jingwangwen.jpg" target="_blank"
                        rel="nofollow">
                            鲁网文[2014]0059-0009号
                        </a>
                        <br>
                        违法和不良信息举报电话：185-0130-1238，本网站所列数据，除特殊说明，所有数据均出自我司实验室测试
                    </p>
                </div>
            </div>
            <div class="slogan ir">
                探索黑商城，agoda为发烧而生
            </div>
        </div>
        <script type="text/javascript" src="/homeassets/evaluate/js/startScore.js"></script>
    <script>
     scoreFun($("#starttwo"),{
           fen_d:22,//每一个a的宽度
           ScoreGrade:5//a的个数 10或者
         }) 
     scoreFun($("#starttwo_two"),{
           fen_d:22,//每一个a的宽度
           ScoreGrade:5//a的个数 10或者
         })
     $('.star_score').click(function(){
        $('#num').val($('.fenshu').text());
     })


    </script>
    <!-- 错误信息隐藏特效 --> 
    <script src="/adminassets/assets/js/successs.js"></script>
   </body>
</html>